package com.richard.cloud.feign;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.richard.springcloud.base.ComnResult;

public interface SeataStorageServiceFeignClient {
	@GetMapping("/hello")
	String hello();
	
	@PutMapping("/storage/decrease")
	ComnResult<?> decrease(@RequestParam("prodId") Long prodId, @RequestParam("count") Integer count);
}
